Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump the graphql group across 1 directory with 9 updates #2415

Merged
merged 2 commits into from
Jun 3, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 1, 2024

Bumps the graphql group with 9 updates in the / directory:

Package From To
@apollo/client 3.9.10 3.10.4
@apollo/server 4.10.2 4.10.4
@graphql-tools/schema 10.0.3 10.0.4
@graphql-codegen/typed-document-node 5.0.6 5.0.7
@graphql-codegen/typescript-operations 4.2.0 4.2.1
@graphql-inspector/cli 4.0.3 5.0.5
@graphql-tools/merge 9.0.3 9.0.4
@graphql-tools/utils 10.1.3 10.2.1
graphql-codegen-typescript-validation-schema 0.12.1 0.14.1

Updates @apollo/client from 3.9.10 to 3.10.4

Release notes

Sourced from @​apollo/client's releases.

v3.10.4

Patch Changes

  • #11838 8475346 Thanks @​alex-kinokon! - Don’t prompt for DevTools installation for browser extension page

  • #11839 6481fe1 Thanks @​jerelmiller! - Fix a regression in 3.9.5 where a merge function that returned an incomplete result would not allow the client to refetch in order to fulfill the query.

  • #11844 86984f2 Thanks @​jerelmiller! - Honor the @nonreactive directive when using cache.watchFragment or the useFragment hook to avoid rerendering when using these directives.

  • #11824 47ad806 Thanks @​phryneas! - Create branded QueryRef type without exposed properties.

    This change deprecates QueryReference in favor of a QueryRef type that doesn't expose any properties. This change also updates preloadQuery to return a new PreloadedQueryRef type, which exposes the toPromise function as it does today. This means that query refs produced by useBackgroundQuery and useLoadableQuery now return QueryRef types that do not have access to a toPromise function, which was never meant to be used in combination with these hooks.

    While we tend to avoid any types of breaking changes in patch releases as this, this change was necessary to support an upcoming version of the React Server Component integration, which needed to omit the toPromise function that would otherwise have broken at runtime. Note that this is a TypeScript-only change. At runtime, toPromise is still present on all queryRefs currently created by this package - but we strongly want to discourage you from accessing it in all cases except for the PreloadedQueryRef use case.

    Migration is as simple as replacing all references to QueryReference with QueryRef, so it should be possible to do this with a search & replace in most code bases:

    -import { QueryReference } from '@apollo/client'
    +import { QueryRef } from '@apollo/client'
    
    function Component({ queryRef }: { queryRef: QueryReference<TData> }) {
    
    
    function Component({ queryRef }: { queryRef: QueryRef<TData> }) {
    // ...
    }
  • #11845 4c5c820 Thanks @​jerelmiller! - Remove @nonreactive directives from queries passed to MockLink to ensure they are properly matched.

  • #11837 dff15b1 Thanks @​jerelmiller! - Fix an issue where a polled query created in React strict mode may not stop polling after the component unmounts while using the cache-and-network fetch policy.

  • v3.10.3

    Patch Changes

    v3.10.2

    Patch Changes

    • #11821 2675d3c Thanks @​jerelmiller! - Fix a regression where rerendering a component with useBackgroundQuery would recreate the queryRef instance when used with React's strict mode.

    • #11821 2675d3c Thanks @​jerelmiller! - Revert the change introduced in 3.9.10 via #11738 that disposed of queryRefs synchronously. This change caused too many issues with strict mode.

    v3.10.1

    Patch Changes

    ... (truncated)

    Changelog

    Sourced from @​apollo/client's changelog.

    3.10.4

    Patch Changes

    • #11838 8475346 Thanks @​alex-kinokon! - Don’t prompt for DevTools installation for browser extension page

    • #11839 6481fe1 Thanks @​jerelmiller! - Fix a regression in 3.9.5 where a merge function that returned an incomplete result would not allow the client to refetch in order to fulfill the query.

    • #11844 86984f2 Thanks @​jerelmiller! - Honor the @nonreactive directive when using cache.watchFragment or the useFragment hook to avoid rerendering when using these directives.

    • #11824 47ad806 Thanks @​phryneas! - Create branded QueryRef type without exposed properties.

      This change deprecates QueryReference in favor of a QueryRef type that doesn't expose any properties. This change also updates preloadQuery to return a new PreloadedQueryRef type, which exposes the toPromise function as it does today. This means that query refs produced by useBackgroundQuery and useLoadableQuery now return QueryRef types that do not have access to a toPromise function, which was never meant to be used in combination with these hooks.

      While we tend to avoid any types of breaking changes in patch releases as this, this change was necessary to support an upcoming version of the React Server Component integration, which needed to omit the toPromise function that would otherwise have broken at runtime. Note that this is a TypeScript-only change. At runtime, toPromise is still present on all queryRefs currently created by this package - but we strongly want to discourage you from accessing it in all cases except for the PreloadedQueryRef use case.

      Migration is as simple as replacing all references to QueryReference with QueryRef, so it should be possible to do this with a search & replace in most code bases:

      -import { QueryReference } from '@apollo/client'
      +import { QueryRef } from '@apollo/client'
      
      function Component({ queryRef }: { queryRef: QueryReference<TData> }) {
      
      
      function Component({ queryRef }: { queryRef: QueryRef<TData> }) {
      // ...
      }
  • #11845 4c5c820 Thanks @​jerelmiller! - Remove @nonreactive directives from queries passed to MockLink to ensure they are properly matched.

  • #11837 dff15b1 Thanks @​jerelmiller! - Fix an issue where a polled query created in React strict mode may not stop polling after the component unmounts while using the cache-and-network fetch policy.

  • 3.10.3

    Patch Changes

    3.10.2

    Patch Changes

    • #11821 2675d3c Thanks @​jerelmiller! - Fix a regression where rerendering a component with useBackgroundQuery would recreate the queryRef instance when used with React's strict mode.

    • #11821 2675d3c Thanks @​jerelmiller! - Revert the change introduced in 3.9.10 via #11738 that disposed of queryRefs synchronously. This change caused too many issues with strict mode.

    ... (truncated)

    Commits
    • d773000 Version Packages (#11843)
    • 6481fe1 Fix merge function that returns incomplete result that did not refetch from n...
    • 4c5c820 Remove @nonreactive directives from queries passed to MockLink (#11845)
    • 86984f2 Honor @nonreactive with useFragment and cache.watchFragment (#11844)
    • 8475346 Don’t prompt for DevTools installation for browser extension page (#11838)
    • dff15b1 Fix issue where query may not stop polling after unmount when in Strict mode ...
    • 47ad806 create branded QueryRef type without exposed properties (#11824)
    • 857f100 [docs] Update explainer around reducing-bundle-size (#11791)
    • 3861b7c chore(docs): fix url for reset function (#11836)
    • 50da867 Version Packages (#11833)
    • Additional commits viewable in compare view

    Updates @apollo/server from 4.10.2 to 4.10.4

    Release notes

    Sourced from @​apollo/server's releases.

    @​apollo/server-integration-testsuite@​4.10.4

    Patch Changes

    • Updated dependencies [18a3827]:
      • @​apollo/server@​4.10.4

    @​apollo/server@​4.10.4

    Patch Changes

    • #7871 18a3827 Thanks @​tninesling! - Subscription heartbeats are initialized prior to awaiting subscribe(). This allows long-running setup to happen in the returned Promise without the subscription being terminated prior to resolution.

    @​apollo/server-integration-testsuite@​4.10.3

    Patch Changes

    • Updated dependencies [5f335a5]:
      • @​apollo/server@​4.10.3

    @​apollo/server@​4.10.3

    Patch Changes

    • #7866 5f335a5 Thanks @​tninesling! - Catch errors thrown by subscription generators, and gracefully clean up the subscription instead of crashing.
    Changelog

    Sourced from @​apollo/server's changelog.

    4.10.4

    Patch Changes

    • #7871 18a3827 Thanks @​tninesling! - Subscription heartbeats are initialized prior to awaiting subscribe(). This allows long-running setup to happen in the returned Promise without the subscription being terminated prior to resolution.

    4.10.3

    Patch Changes

    • #7866 5f335a5 Thanks @​tninesling! - Catch errors thrown by subscription generators, and gracefully clean up the subscription instead of crashing.
    Commits

    Updates @graphql-tools/schema from 10.0.3 to 10.0.4

    Changelog

    Sourced from @​graphql-tools/schema's changelog.

    10.0.4

    Patch Changes

    Commits

    Updates @graphql-codegen/typed-document-node from 5.0.6 to 5.0.7

    Release notes

    Sourced from @​graphql-codegen/typed-document-node's releases.

    Release 2022-08-04T13:12:01.667Z

    @​graphql-codegen/graphql-modules-preset@​2.5.0

    Minor Changes

    Release 2022-08-04T13:05:23.977Z

    No release notes provided.

    Release 2022-08-04T13:02:57.827Z

    No release notes provided.

    Changelog

    Sourced from @​graphql-codegen/typed-document-node's changelog.

    5.0.7

    Patch Changes

    Commits

    Updates @graphql-codegen/typescript-operations from 4.2.0 to 4.2.1

    Release notes

    Sourced from @​graphql-codegen/typescript-operations's releases.

    Release 2022-08-04T13:12:01.667Z

    @​graphql-codegen/graphql-modules-preset@​2.5.0

    Minor Changes

    Release 2022-08-04T13:05:23.977Z

    No release notes provided.

    Release 2022-08-04T13:02:57.827Z

    No release notes provided.

    Changelog

    Sourced from @​graphql-codegen/typescript-operations's changelog.

    4.2.1

    Patch Changes

    Commits

    Updates @graphql-inspector/cli from 4.0.3 to 5.0.5

    Changelog

    Sourced from @​graphql-inspector/cli's changelog.

    5.0.5

    Patch Changes

    5.0.4

    Patch Changes

    • Updated dependencies [12a2208]:
      • @​graphql-inspector/commands@​5.0.4
      • @​graphql-inspector/audit-command@​5.0.4
      • @​graphql-inspector/coverage-command@​6.0.4
      • @​graphql-inspector/diff-command@​5.0.4
      • @​graphql-inspector/docs-command@​5.0.4
      • @​graphql-inspector/introspect-command@​5.0.4
      • @​graphql-inspector/serve-command@​5.0.4

    ... (truncated)

    Commits
    • 584d43e chore(release): update monorepo packages versions (#2743)
    • 9c36138 Update all packages dependencies versions (#2747)
    • 6cd7341 chore(release): update monorepo packages versions (#2741)
    • cf83240 chore(release): update monorepo packages versions (#2739)
    • 76a5863 chore(release): update monorepo packages versions (#2737)
    • eca4d4f chore(release): update monorepo packages versions (#2734)
    • de81e5b chore(release): update monorepo packages versions (#2727)
    • 50874f2 Upgrade pnpm, bump Node engine and Yoga to version 5 (#2719)
    • e77738a chore(release): update monorepo packages versions (#2680)
    • See full diff in compare view

    Updates @graphql-tools/merge from 9.0.3 to 9.0.4

    Changelog

    Sourced from @​graphql-tools/merge's changelog.

    9.0.4

    Patch Changes

    Commits
    • 36913ee chore(release): update monorepo packages versions (#6113)
    • a06dbd2 add changeset for previous PR 5973 (#6111)
    • b281dd6 fix(stitch): handle isolated root fields in correct order (#6107)
    • c02eb60 Add tests for merging the directives with the same name and arguments (#6097)
    • 0b43440 fix: check directive isNode on merge if inherited from obj (#5973)
    • See full diff in compare view

    Updates @graphql-tools/utils from 10.1.3 to 10.2.1

    Changelog

    Sourced from @​graphql-tools/utils's changelog.

    10.2.1

    Patch Changes

    • #6194 7368829 Thanks @​ardatan! - Handle interface objects in a different way

    • #6188 e10c13a Thanks @​ardatan! - Add respectArrayLength flag to mergeDeep so instead of concatenating the arrays, elements of them will be merged if they have the same length

    10.2.0

    Minor Changes

    Patch Changes

    Commits
    • 17530bc chore(release): update monorepo packages versions (#6183)
    • e10c13a Federation: handle shared root fields in optimal way (#6188)
    • 03a47b1 fix(stitch): computed fields resolving via a root field returning an interfac...
    • 7ef2ad7 chore(release): update monorepo packages versions (#6106)
    • 5567347 fix(stitch): do not remove unmerged fields from both isolated and non-isolate...
    • See full diff in compare view

    Updates graphql-codegen-typescript-validation-schema from 0.12.1 to 0.14.1

    Release notes

    Sourced from graphql-codegen-typescript-validation-schema's releases.

    v0.14.1

    What's Changed

    Full Changelog: Code-Hex/graphql-codegen-typescript-validation-schema@v0.14.0...v0.14.1

    v0.14.0

    Supported interface generation! Thanks @​simonljus

    What's Changed

    Full Changelog: Code-Hex/graphql-codegen-typescript-validation-schema@v0.13.0...v0.14.0

    v0.13.0

    What's Changed

    ... (truncated)

    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
    • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
    • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
    • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
    • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
    • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

    @dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/graphql-c54085c6ee branch 8 times, most recently from c636579 to 4d940f4 Compare June 2, 2024 14:06
    Bumps the graphql group with 9 updates in the / directory:
    
    | Package | From | To |
    | --- | --- | --- |
    | [@apollo/client](https://github.com/apollographql/apollo-client) | `3.9.10` | `3.10.4` |
    | [@apollo/server](https://github.com/apollographql/apollo-server/tree/HEAD/packages/server) | `4.10.2` | `4.10.4` |
    | [@graphql-tools/schema](https://github.com/ardatan/graphql-tools/tree/HEAD/packages/schema) | `10.0.3` | `10.0.4` |
    | [@graphql-codegen/typed-document-node](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/typescript/typed-document-node) | `5.0.6` | `5.0.7` |
    | [@graphql-codegen/typescript-operations](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/typescript/operations) | `4.2.0` | `4.2.1` |
    | [@graphql-inspector/cli](https://github.com/kamilkisiela/graphql-inspector/tree/HEAD/packages/cli) | `4.0.3` | `5.0.5` |
    | [@graphql-tools/merge](https://github.com/ardatan/graphql-tools/tree/HEAD/packages/merge) | `9.0.3` | `9.0.4` |
    | [@graphql-tools/utils](https://github.com/ardatan/graphql-tools/tree/HEAD/packages/utils) | `10.1.3` | `10.2.1` |
    | [graphql-codegen-typescript-validation-schema](https://github.com/Code-Hex/graphql-codegen-typescript-validation-schema) | `0.12.1` | `0.14.1` |
    
    
    
    Updates `@apollo/client` from 3.9.10 to 3.10.4
    - [Release notes](https://github.com/apollographql/apollo-client/releases)
    - [Changelog](https://github.com/apollographql/apollo-client/blob/main/CHANGELOG.md)
    - [Commits](apollographql/apollo-client@v3.9.10...v3.10.4)
    
    Updates `@apollo/server` from 4.10.2 to 4.10.4
    - [Release notes](https://github.com/apollographql/apollo-server/releases)
    - [Changelog](https://github.com/apollographql/apollo-server/blob/main/packages/server/CHANGELOG.md)
    - [Commits](https://github.com/apollographql/apollo-server/commits/@apollo/server@4.10.4/packages/server)
    
    Updates `@graphql-tools/schema` from 10.0.3 to 10.0.4
    - [Release notes](https://github.com/ardatan/graphql-tools/releases)
    - [Changelog](https://github.com/ardatan/graphql-tools/blob/master/packages/schema/CHANGELOG.md)
    - [Commits](https://github.com/ardatan/graphql-tools/commits/@graphql-tools/schema@10.0.4/packages/schema)
    
    Updates `@graphql-codegen/typed-document-node` from 5.0.6 to 5.0.7
    - [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
    - [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/plugins/typescript/typed-document-node/CHANGELOG.md)
    - [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/typed-document-node@5.0.7/packages/plugins/typescript/typed-document-node)
    
    Updates `@graphql-codegen/typescript-operations` from 4.2.0 to 4.2.1
    - [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
    - [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/plugins/typescript/operations/CHANGELOG.md)
    - [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/typescript-operations@4.2.1/packages/plugins/typescript/operations)
    
    Updates `@graphql-inspector/cli` from 4.0.3 to 5.0.5
    - [Release notes](https://github.com/kamilkisiela/graphql-inspector/releases)
    - [Changelog](https://github.com/kamilkisiela/graphql-inspector/blob/master/packages/cli/CHANGELOG.md)
    - [Commits](https://github.com/kamilkisiela/graphql-inspector/commits/@graphql-inspector/cli@5.0.5/packages/cli)
    
    Updates `@graphql-tools/merge` from 9.0.3 to 9.0.4
    - [Release notes](https://github.com/ardatan/graphql-tools/releases)
    - [Changelog](https://github.com/ardatan/graphql-tools/blob/master/packages/merge/CHANGELOG.md)
    - [Commits](https://github.com/ardatan/graphql-tools/commits/@graphql-tools/merge@9.0.4/packages/merge)
    
    Updates `@graphql-tools/utils` from 10.1.3 to 10.2.1
    - [Release notes](https://github.com/ardatan/graphql-tools/releases)
    - [Changelog](https://github.com/ardatan/graphql-tools/blob/master/packages/utils/CHANGELOG.md)
    - [Commits](https://github.com/ardatan/graphql-tools/commits/@graphql-tools/utils@10.2.1/packages/utils)
    
    Updates `graphql-codegen-typescript-validation-schema` from 0.12.1 to 0.14.1
    - [Release notes](https://github.com/Code-Hex/graphql-codegen-typescript-validation-schema/releases)
    - [Commits](Code-Hex/graphql-codegen-typescript-validation-schema@v0.12.1...v0.14.1)
    
    ---
    updated-dependencies:
    - dependency-name: "@apollo/client"
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: graphql
    - dependency-name: "@apollo/server"
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: graphql
    - dependency-name: "@graphql-tools/schema"
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: graphql
    - dependency-name: "@graphql-codegen/typed-document-node"
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: graphql
    - dependency-name: "@graphql-codegen/typescript-operations"
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: graphql
    - dependency-name: "@graphql-inspector/cli"
      dependency-type: direct:development
      update-type: version-update:semver-major
      dependency-group: graphql
    - dependency-name: "@graphql-tools/merge"
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: graphql
    - dependency-name: "@graphql-tools/utils"
      dependency-type: direct:development
      update-type: version-update:semver-minor
      dependency-group: graphql
    - dependency-name: graphql-codegen-typescript-validation-schema
      dependency-type: direct:development
      update-type: version-update:semver-minor
      dependency-group: graphql
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    @dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/graphql-c54085c6ee branch from 4d940f4 to 2048268 Compare June 2, 2024 15:58
    Copy link

    github-actions bot commented Jun 2, 2024

    @tobiasdiez tobiasdiez merged commit 34867d8 into main Jun 3, 2024
    4 of 5 checks passed
    @tobiasdiez tobiasdiez deleted the dependabot/npm_and_yarn/graphql-c54085c6ee branch June 3, 2024 01:16
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    None yet

    1 participant